﻿using System;
using MFWebSockets.Core.Clients;
using MFWebSockets.Core.Contract.Interfaces;
using MFWebSockets.Core.Tests;

namespace MFWebSockets.Console
{
    public class Program
    {
        public static ILoggingClient LoggingClient = new DebugLoggingClient();

        public static IWebSocketClient WebSocketClient = new WebSocketClient(
            new Uri("ws://ws.pusherapp.com:80/app/de39425369c0ebdccb7e?client=js&version=1.8.5"),
            LoggingClient);

        public static void Main()
        {
            (new ConnectionTest(WebSocketClient, LoggingClient)).Run();

            //(new SendTest(WebSocketClient, LoggingClient, "This is a test message to send!")).Run();

            //(new ReceiveTest(WebSocketClient, LoggingClient)).Run();
        }
    }
}